
#include "mainwindow.h"

#include <QApplication>
#include <QDebug>
#include <QMainWindow>
#include <cpuinfobrowser.h>

#include "screenutil.h"
#include "version.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    a.setApplicationName("cpu-rank-search");
    a.setApplicationDisplayName("CPU 排名搜索 - v" PROJECT_VERSION);

    CpuInfoBrowser wm;
    wm.show();
   
    ScreenUtil::moveCenter(wm);

    return a.exec();
}
